import React from "react";
import { Modal } from "antd";

const CreateBank = (props) => {
    const {
        createModalVisible,
        handleModalVisible
    }=props;

    return (
        <Modal
          destroyOnClose
          visible={createModalVisible}
          title='新建售卖渠道'
          onCancel={()=>{handleModalVisible(false)}}
          footer={null}
        >
             {props.children}
        </Modal>
    )
}

export default CreateBank;